package com.ruoyi.project.data.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 weight_station_camera
 *
 * @author ruoyi
 * @date 2020-03-30
 */
public class WeightStationCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 相机类型（ 1- 称重-前； 2-称重-后； 3-道闸-进；4-道闸-出） */
    @Excel(name = "相机类型", readConverterExp = "1=-,称=重-前；,2=-称重-后；,3=-道闸-进；4-道闸-出")
    private String cameraType;

    /** 相机名称 */
    @Excel(name = "相机名称")
    private String caneraName;

    /** 相机编号 */
    @Excel(name = "相机编号")
    private String cameraCode;

    /** 所属场站id */
    @Excel(name = "所属场站id")
    private Long stationId;

    /** 场站名称 **/
    private String stationName;

    /** 是否删除（0-有效，1-删除） */
    @Excel(name = "是否删除", readConverterExp = "0=-有效，1-删除")
    private String isDelete;

    private String cameraStatus;
    // 场站编号
    private String stationCode;
    // 称重设备编号
    private String deviceCode;

    private String videoUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCameraType(String cameraType)
    {
        this.cameraType = cameraType;
    }

    public String getCameraType()
    {
        return cameraType;
    }
    public void setCaneraName(String caneraName)
    {
        this.caneraName = caneraName;
    }

    public String getCaneraName()
    {
        return caneraName;
    }
    public void setCameraCode(String cameraCode)
    {
        this.cameraCode = cameraCode;
    }

    public String getCameraCode()
    {
        return cameraCode;
    }
    public void setStationId(Long stationId)
    {
        this.stationId = stationId;
    }

    public Long getStationId()
    {
        return stationId;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }


    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCameraStatus() {
        return cameraStatus;
    }

    public void setCameraStatus(String cameraStatus) {
        this.cameraStatus = cameraStatus;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cameraType", getCameraType())
            .append("caneraName", getCaneraName())
            .append("cameraCode", getCameraCode())
            .append("stationId", getStationId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
